<div class="pet-item">
    <a href="/user/{$data->user_id}">
        {assign var="avatarSrc" value=UploadImageFacade::resolveImagePath($data->avatar_id, "84x123")}
        <img src="{$avatarSrc}" alt="" width="84" height="123" />
    </a>
    <a href="/user/{$data->user_id}" class="pet-name">{$data->name} {$data->surname}</a>
</div>